package cn.iocoder.yudao.module.exam.controller.admin.questions.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 考试题库新增/修改 Request VO")
@Data
public class QuestionsSaveReqVO {

    @Schema(description = "题目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2933")
    private Long id;

    @Schema(description = "年级")
    private String grade;

    @Schema(description = "学科")
    private String subject;

    @Schema(description = "来源", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "来源不能为空")
    private String source;

    @Schema(description = "题型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "题型不能为空")
    private String questionType;

    @Schema(description = "题目")
    private String questionContent;

    @Schema(description = "答案")
    private String standardAnswer;

    @Schema(description = "答案解析")
    private String answerAnalysis;

    @Schema(description = "评分标准")
    private String scoringCriteria;

    @Schema(description = "知识点")
    private String knowledgePoints;

    @Schema(description = "难度等级(1-5)")
    private Integer difficultyLevel;

}